package com.yuaer.demo.springsparkjobhandlerdemo;

import com.yuaer.demo.springsparkjobhandlerdemo.model.MktActivityDecision;
import com.yuaer.demo.springsparkjobhandlerdemo.model.Node;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(name = "decision-service")
public interface DecisionService {

    @GetMapping(path = "/getNodes")
    MktActivityDecision getActivitiesToBeExecute(@RequestParam String moveNo);
}

